
<?php

// This file is part of the Carrington Text Theme for WordPress
// http://carringtontheme.com
//
// Copyright (c) 2008-2009 Crowd Favorite, Ltd. All rights reserved.
// http://crowdfavorite.com
//
// Released under the GPL license
// http://www.opensource.org/licenses/gpl-license.php
//
// **********************************************************************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
// **********************************************************************

if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }
if (CFCT_DEBUG) { cfct_banner(__FILE__); }


?>
<div id="news">
<?php

	if (have_posts()) {
		while (have_posts()) {
			the_post();

		
			$category = get_the_category($post->ID);

			?>
				<article class='highlight'>
					<a href='<?php the_permalink(); ?>'>
    				<h3><?php echo $category[1]->cat_name; ?></h3>
    				<img src="<?php bloginfo('template_url') ?>/img/thumb-1.jpg">
    				<p><?php the_excerpt();?></p>
    				</a>
    			</article>
    		<?php
		
	}
	
}


?>
			    		
    		
</div>